package com.example.administrator.yuejian_15.model;


import com.example.administrator.yuejian_15.bean.JlbBean;
import com.example.administrator.yuejian_15.iface.JlbInfoIface;
import com.example.administrator.yuejian_15.listener.TListener;
import com.example.administrator.yuejian_15.service.AllService;

import retrofit2.Call;
import retrofit2.Retrofit;

public class JlbInfoModel extends RetrofitBaseModel implements JlbInfoIface<JlbBean> {

    private AllService allService;
    private Retrofit retrofit;
    public JlbInfoModel(){
        retrofit=getRetrofit();
        allService=getAllService();
    }

    @Override
    public void getJulebuInfo(String jlbid, TListener<JlbBean> tListener) {
        Call<JlbBean> call = allService.getJulebuInfo(jlbid);
        callenqueue(call,tListener);

    }
}
